package com.woniuxy.student.service;

import com.woniuxy.commons.entity.QuestionAnswer;
import com.woniuxy.commons.entity.QuestionDetail;
import com.woniuxy.commons.entity.User;
import com.woniuxy.commons.entity.wyh.TeacherInfo;
import com.woniuxy.student.dao.QuestionDao;

import java.util.List;

/**
 * @Author: lishuwei
 * @Date: 2020/7/18
 * @description:
 */

public interface QuestionService {
    public List<QuestionAnswer> getQuestionsById(long sid,long tid);
    public QuestionAnswer getQuestionByQAId(long qaid);
    public List<TeacherInfo> getTeacherByStuid(long i);
    public List<QuestionDetail> getDetailsByQaid(int qaid);

    Integer addDetail(QuestionDetail detail);
}
